﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserBaseInfo.aspx.cs" Inherits="UserBackGround_CheckInfo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <link href="../Css/StyleSheet.css" rel="stylesheet" type="text/css" />
    </head>
<body>
<br />
    <form id="form1" runat="server">
    <div align="center">
    <table border="0" cellspacing="0" style="width: 400px" >
                <tr>
                    <td colspan="2" style="font-size: 18px;  font-family: 黑体; text-align:center">
                        我的资料</td>
                </tr>
                <tr><td style="text-align:right">注册日期:</td>
                <td style="text-align: left"><asp:Label ID="regtime" runat="server" Text="Label" ForeColor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td style="height: 30px; text-align: right">
                         类 别:</td>
                    <td style="height: 30px; color: red; text-align: left; width:200">
                        <asp:DropDownList ID="type" runat="server" Enabled="false">
                            <asp:ListItem Value="企业用户">企业用户</asp:ListItem>
                            <asp:ListItem Value="科研机构">科研机构</asp:ListItem>
                            <asp:ListItem Value="专业人士">专业人士</asp:ListItem>
                        </asp:DropDownList>
                        </td>
                </tr>
                <tr>
                    <td style=" height: 30px; text-align: right">
                        用 户 名:</td>
                    <td style="height: 30px; color: red; text-align: left">
                        <asp:TextBox ID="name" runat="server" Width="120px" Enabled="false"></asp:TextBox>
                        *
                        <br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="name"
                            Display="Dynamic" ErrorMessage="用户名不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 100px; height: 30px; text-align: right; ">
                        <asp:Label ID="lbComname" runat="server" Text="Label"></asp:Label>
                        </td>
                    <td style="height: 30px; color: red;text-align: left ">
                        <asp:TextBox ID="tbComname" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                </tr>  
                <tr>
                    <td style="width: 100px; height: 30px; text-align: right; ">
                        <asp:Label ID="lbAddress" runat="server" Text="Label"></asp:Label>
                        </td>
                    <td style="height: 30px; color: red;text-align: left ">
                        <asp:TextBox ID="tbAddress" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                </tr>  
                <tr>
                    <td style="width: 100px; height: 30px; text-align: right; ">
                        <asp:Label ID="lbOrgDetail" runat="server" Text="Label"></asp:Label>
                        </td>
                    <td style="height: 30px;text-align: left ">
                        <asp:TextBox ID="tbOrgDetail" Height="100px" Width="320px" runat="server" MaxLength="500" TextMode="MultiLine"></asp:TextBox>
                        (500字以内)</td>
                </tr>  
                <tr>
                    <td style=" height: 30px; text-align: right">
                        EMAIL:</td>
                    <td style="height: 30px; color: red;text-align: left">
                        <asp:TextBox ID="email" runat="server"></asp:TextBox>
                        *<div>
                            <asp:Label ID="msg" runat="server" Text="邮箱已经注册！"></asp:Label></div>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="email"
                            Display="Dynamic" ErrorMessage="EMAIL不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator8" runat="server" ControlToValidate="email"
                            Display="Dynamic" ErrorMessage="格式不合法" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                            ValidationGroup="v1"></asp:RegularExpressionValidator></td>
                </tr>  
                <tr>
                    <td style=" height: 30px; text-align: right">
                        QQ:</td>
                    <td style="height: 30px; color: red;text-align: left">
                        <asp:TextBox ID="qq" runat="server"></asp:TextBox>
                        </td>
                </tr>  
                <tr>
                    <td style="height: 30px; text-align: right">
                        MSN:</td>
                    <td style="height: 30px; color: red;text-align: left">
                        <asp:TextBox ID="msn" runat="server"></asp:TextBox>
                        </td>
                </tr>  
                <tr>
                    <td style="text-align: right">
                        联系电话:</td>
                    <td style="color: red;text-align: left">
                        <asp:TextBox ID="tel" runat="server" ></asp:TextBox>
                        *
                        <br />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="tel"
                            Display="Dynamic" ErrorMessage="联系电话不能为空" ValidationGroup="v1"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" ControlToValidate="tel"
                            Display="Dynamic" ErrorMessage="格式不合法" ValidationExpression="(\d{11})|((\(\d{3,4}\)|\d{3,4}-)?\d{7,8})"
                            ValidationGroup="v1"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                <td>&nbsp;</td>
                    <td style=" height: 30px;" align="left">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:Button ID="save" runat="server" Text="修改" ValidationGroup="v1" OnClick="Save_Click" /></td>
                </tr>
            </table>
            <br />
            <br />
    </div>
    </form>
</body>
</html>
